		<table style="width:100%;{% if not grid_options_on_top %}border-right:none;{% endif %}" cellpadding="4" cellspacing="0">

		{% if include_time_range %}
			<tr>
			{% if not grid_options_on_top %}
				<td colspan="2" style="border:none;align:center" align="center">
			{% else %}
				<th align="right">{{template_time_range}}</th>
				<td>
			{% endif %}
			{{template_show}}
			<select name="timeFrame">
				{% for time_frame in time_frames %}
					<option value="{{time_frame|listLookup:0}}"
					{% if time_frame|listLookup:0|equalTest:member_time_frame_string %}
						selected="selected"
					{% endif %}
					>{{time_frame|listLookup:0}}</option>
				{% endfor %} 
				</select>
			&nbsp;
			<input type="submit" name="changeTimeFrame" value="{{button_change_time_range_view}}" class="button_small"
			{% if current_member.showButtonTooltips %}
				title="{{"changing_time_frame"|buttonTooltip}}"
			{% endif %}
			>

			{{min_time}} - {{max_time}}
			&nbsp;
			<input type="submit" name="setToFirst" value="" class="time_first"
			{% if current_member.showButtonTooltips %}
				title="{{"changing_time_to_first"|buttonTooltip}}"
			{% endif %}
			>
			<input type="submit" name="moveTimeBack" value="" class="time_back"
			{% if current_member.showButtonTooltips %}
				title="{{"moving_time_back"|buttonTooltip}}"
			{% endif %}
			>
			<input type="submit" name="moveTimeForward" value="" class="time_forward"
			{% if current_member.showButtonTooltips %}
				title="{{"moving_time_forward"|buttonTooltip}}"
			{% endif %}
			>
			<input type="submit" name="setToLast" value="" class="time_last"
			{% if current_member.showButtonTooltips %}
				title="{{"changing_time_to_last"|buttonTooltip}}"
			{% endif %}
			>
			</td>
			</tr>
		{% endif %}
		
		{% if not grid_options_on_top %}
			</table>
		{% endif %}